package com.gitee.wsl.platform.scheduler

import kotlinx.coroutines.Runnable

internal expect fun jsSetTimeout(task: Runnable, delayMillis: Int): TimeoutId

internal expect fun jsSetInterval(task: Runnable, delayMillis: Int): TimeoutId

internal expect fun jsClearTimeout(id: TimeoutId)

internal expect fun jsClearInterval(id: TimeoutId)
